package nc.ui.arap.perfbal.action;

import nc.ui.arap.action.Action;
import nc.ui.arap.action.ActionHandler;
import nc.ui.arap.perfbal.view.QryObjFieldBtns;
import nc.ui.arap.view.ViewContext;
import nc.vo.arap.perfbal.QryObjFieldVO;
import nc.vo.pub.BusinessException;

@Action(code = QryObjFieldBtns.DELETE)
public class QryObjFieldDeleteAction implements ActionHandler<QryObjFieldVO> {

	public void handle(ViewContext<QryObjFieldVO> context)
			throws BusinessException {
		int[] selectedRows = context.getListPanel().getHeadTable().getSelectedRows();
		context.getBatchTabelModel().delete(selectedRows);
		context.synchronizeMode();
	}

}
